import request from '@/utils/request'

// 查询学生详情列表
export function listStudentDetail(query) {
  return request({
    url: '/student/studentDetail/list',
    method: 'get',
    params: query
  })
}

// 查询学生详情详细
export function getStudentDetail(id) {
  return request({
    url: '/student/studentDetail/' + id,
    method: 'get'
  })
}

// 新增学生详情
export function addStudentDetail(data) {
  return request({
    url: '/student/studentDetail',
    method: 'post',
    data: data
  })
}

// 修改学生详情
export function updateStudentDetail(data) {
  return request({
    url: '/student/studentDetail',
    method: 'put',
    data: data
  })
}

// 删除学生详情
export function delStudentDetail(id) {
  return request({
    url: '/student/studentDetail/' + id,
    method: 'delete'
  })
}
